ComponentOne Xamarin.Android
GroupAsync<T>(ICollectionView<T>,String[]) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > GroupAsync Method : GroupAsync<T>(ICollectionView<T>,String[]) Method
The collection view.
The fields.
Groups the collection view according to the specified group fields.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__29`1)> 
<ExtensionAttribute()> 
Public Overloads Shared Function GroupAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal ParamArray fields() As String _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim fields() As String
Dim value As Task
 
value = ICollectionViewEx.GroupAsync(Of T)(collectionView, fields)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__29`1)] 
[Extension()] 
public static Task GroupAsync<T>( 
   ICollectionView<T> collectionView, 
   params string[] fields 
) 
where T: class

Parameters

collectionView
The collection view.
fields
The fields.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List